Project-specific Variables

Project-specific variables are used for common attributes that can be shared at different places within a TPT project, such as the name of a project, version number, and so forth. Project-specific variables can only be used in the TPT project where you specified them in.

Use global variables, to create variables that are shared among all TPT projects, see Global Variables.

Project-specific variables are declared and initialized in the TPT Tool Preferences dialog, see Project Preferences - Variables. To display them in the test report, select the Show in Report checkbox in this dialog.

Project-specific variables prevail over global variables.

Project-specific variables can be used in many places in TPT by using the following syntax: ${<project-specific_variable_name>}.

${<project-specific_variable_name>} is case-sensitive.

The autocompletion feature (shortcut Ctrl+Space) is available at all places where you can use a project-specific variable, for example, in the Report sections of the Execution configuration dialog .

Selection of the project-specific variables by means of autocompletion